//
//  LocModel.h
//  lTTheOne
//
//  Created by AA on 2024/2/26.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^LocisInfo)(BOOL locisinfo);

@interface LocModel : NSObject

@property(nonatomic,copy)LocisInfo isShowbreakdown;
@property (nonatomic,copy)void(^LocFinishBlock)(NSString*address);

//经纬度
@property(nonatomic,assign)double longitude;
@property(nonatomic,assign)double latitude;

//具体位置
@property(nonatomic,strong)NSString *Preciseaddress;
//市
@property(nonatomic,strong)NSString *cityName;

+ (LocModel*)loc;

-(void)accredit;

- (void)GetLoc;
- (void)GetLocFinish:(void (^)(NSString*address))finishBlock;


@end

NS_ASSUME_NONNULL_END
